package com.wx.lambda.ii.chapter12;

import lombok.extern.slf4j.Slf4j;

import java.time.LocalDate;
import java.time.Month;
import java.util.concurrent.*;
import java.util.stream.LongStream;


/**
 * 第12章测试

 */
@Slf4j
public class Chapter12Test {
    public static void main(String[] args) {

        LocalDate now = LocalDate.now();
        int year = now.getYear();
        int month = now.getMonthValue();
        int dayOfMonth = now.getDayOfMonth();

        int dayOfYear = now.getDayOfYear();

        log.info("year={},month={},dayOfMonth={},dayOfYear={}",year,month,dayOfMonth,dayOfYear);
    }


}
